package com.sgb.kjwl.model.entity.transport;

import android.text.TextUtils;

import com.swgk.core.util.StringUtil;

import java.io.Serializable;

/**
 * Time:2021/3/11
 * Author:黄淋
 * Description:
 */
public class OperateGoodsSourcePlaceVO implements Serializable {
    /**
     * 货源编号
     */
    private String goodsSourceNo;
/**
 * 询价编号
 */
    /**
     * 报价编号
     */
    private String goodsOfferNo;

    /**
     * 运程： 装1-装2/装1-卸1/装1-卸2
     */
    private String firstDistance;
    /**
     * 运程：装2-卸1/装2-卸2
     */
    private String secondDistance;
    /**
     * 运程：卸1-卸2
     */
    private String thirdDistance;
    /**
     * 总运程
     */
    private String totalDistance;

    /**
     * 发货地省编号
     */
    private String provinceNo;
    /**
     * 发货地省名称
     */
    private String provinceName;
    /**
     * 发货地市编号
     */
    private String cityNo;
    /**
     * 发货地市名称
     */
    private String cityName;
    /**
     * 发货地区编号
     */
    private String districtNo;
    /**
     * 发货地区名称
     */
    private String districtName;
    /**
     * 发货地详细地址
     */
    private String detailAddress;
    /**
     * 发货地经度
     */
    private double longitude;
    /**
     * 发货地纬度
     */
    private double latitude;
    /**
     * 途径发货地省编号
     */
    private String viaSendProvinceNo;
    /**
     * 途径发货地省名称
     */
    private String viaSendProvinceName;
    /**
     * 途径发货地市编号
     */
    private String viaSendCityNo;
    /**
     * 途径发货地市名称
     */
    private String viaSendCityName;
    /**
     * 途径发货地区编号
     */
    private String viaSendDistrictNo;
    /**
     * 途径发货地区名称
     */
    private String viaSendDistrictName;
    /**
     * 途径发货地详细地址
     */
    private String viaSendDetailAddress;
    /**
     * 途径发货地经度
     */
    private double viaSendLongitude;
    /**
     * 途径发货地纬度
     */
    private double viaSendLatitude;
    /**
     * 途径目的地省编号
     */
    private String viaDestProvinceNo;
    /**
     * 途径目的地省名称
     */
    private String viaDestProvinceName;
    /**
     * 途径目的地市编号
     */
    private String viaDestCityNo;
    /**
     * 途径目的地市名称
     */
    private String viaDestCityName;
    /**
     * 途径目的地区编号
     */
    private String viaDestDistrictNo;
    /**
     * 途径目的地区名称
     */
    private String viaDestDistrictName;
    /**
     * 途径目的地详细地址
     */
    private String viaDestDetailAddress;
    /**
     * 途径目的地经度
     */
    private double viaDestLongitude;
    /**
     * 途径目的地纬度
     */
    private double viaDestLatitude;
    /**
     * 目的地省编号
     */
    private String destProvinceNo;
    /**
     * 目的地省名称
     */
    private String destProvinceName;
    /**
     * 目的地市编号
     */
    private String destCityNo;
    /**
     * 目的地市名称
     */
    private String destCityName;
    /**
     * 目的地区编号
     */
    private String destDistrictNo;
    /**
     * 目的地区名称
     */
    private String destDistrictName;
    /**
     * 目的地详细地址
     */
    private String destDetailAddress;
    /**
     * 目的地经度
     */
    private double destLongitude;
    /**
     * 目的地纬度
     */
    private double destLatitude;

    public String getGoodsSourceNo() {
        return goodsSourceNo;
    }

    public void setGoodsSourceNo(String goodsSourceNo) {
        this.goodsSourceNo = goodsSourceNo;
    }

    public String getGoodsOfferNo() {
        return goodsOfferNo;
    }

    public void setGoodsOfferNo(String goodsOfferNo) {
        this.goodsOfferNo = goodsOfferNo;
    }

    public String getFirstDistance() {
        return TextUtils.isEmpty(firstDistance) ? firstDistance : "约" + (Double.valueOf(firstDistance) < 1000 ? "1km以内" : StringUtil.fromatUpDistance(firstDistance) + "km");
    }

    public void setFirstDistance(String firstDistance) {
        this.firstDistance = firstDistance;
    }

    public String getSecondDistance() {
        return TextUtils.isEmpty(secondDistance) ? secondDistance : "约" + (Double.valueOf(secondDistance) < 1000 ? "1km以内" : StringUtil.fromatUpDistance(secondDistance) + "km");
    }

    public void setSecondDistance(String secondDistance) {
        this.secondDistance = secondDistance;
    }

    public String getThirdDistance() {
        return TextUtils.isEmpty(thirdDistance) ? thirdDistance : "约" + (Double.valueOf(thirdDistance) < 1000 ? "1km以内" : StringUtil.fromatUpDistance(thirdDistance) + "km");
    }

    public void setThirdDistance(String thirdDistance) {
        this.thirdDistance = thirdDistance;
    }

    public String getTotalDistance() {
        return totalDistance;
    }

    public void setTotalDistance(String totalDistance) {
        this.totalDistance = totalDistance;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getCityName() {
        return cityName == null ? "" : cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistrictNo() {
        return districtNo;
    }

    public void setDistrictNo(String districtNo) {
        this.districtNo = districtNo;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getViaSendProvinceNo() {
        return viaSendProvinceNo;
    }

    public void setViaSendProvinceNo(String viaSendProvinceNo) {
        this.viaSendProvinceNo = viaSendProvinceNo;
    }

    public String getViaSendProvinceName() {
        return viaSendProvinceName;
    }

    public void setViaSendProvinceName(String viaSendProvinceName) {
        this.viaSendProvinceName = viaSendProvinceName;
    }

    public String getViaSendCityNo() {
        return viaSendCityNo;
    }

    public void setViaSendCityNo(String viaSendCityNo) {
        this.viaSendCityNo = viaSendCityNo;
    }

    public String getViaSendCityName() {
        return viaSendCityName;
    }

    public void setViaSendCityName(String viaSendCityName) {
        this.viaSendCityName = viaSendCityName;
    }

    public String getViaSendDistrictNo() {
        return viaSendDistrictNo;
    }

    public void setViaSendDistrictNo(String viaSendDistrictNo) {
        this.viaSendDistrictNo = viaSendDistrictNo;
    }

    public String getViaSendDistrictName() {
        return viaSendDistrictName;
    }

    public void setViaSendDistrictName(String viaSendDistrictName) {
        this.viaSendDistrictName = viaSendDistrictName;
    }

    public String getViaSendDetailAddress() {
        return viaSendDetailAddress;
    }

    public void setViaSendDetailAddress(String viaSendDetailAddress) {
        this.viaSendDetailAddress = viaSendDetailAddress;
    }

    public double getViaSendLongitude() {
        return viaSendLongitude;
    }

    public void setViaSendLongitude(double viaSendLongitude) {
        this.viaSendLongitude = viaSendLongitude;
    }

    public double getViaSendLatitude() {
        return viaSendLatitude;
    }

    public void setViaSendLatitude(double viaSendLatitude) {
        this.viaSendLatitude = viaSendLatitude;
    }

    public String getViaDestProvinceNo() {
        return viaDestProvinceNo;
    }

    public void setViaDestProvinceNo(String viaDestProvinceNo) {
        this.viaDestProvinceNo = viaDestProvinceNo;
    }

    public String getViaDestProvinceName() {
        return viaDestProvinceName;
    }

    public void setViaDestProvinceName(String viaDestProvinceName) {
        this.viaDestProvinceName = viaDestProvinceName;
    }

    public String getViaDestCityNo() {
        return viaDestCityNo;
    }

    public void setViaDestCityNo(String viaDestCityNo) {
        this.viaDestCityNo = viaDestCityNo;
    }

    public String getViaDestCityName() {
        return viaDestCityName;
    }

    public void setViaDestCityName(String viaDestCityName) {
        this.viaDestCityName = viaDestCityName;
    }

    public String getViaDestDistrictNo() {
        return viaDestDistrictNo;
    }

    public void setViaDestDistrictNo(String viaDestDistrictNo) {
        this.viaDestDistrictNo = viaDestDistrictNo;
    }

    public String getViaDestDistrictName() {
        return viaDestDistrictName;
    }

    public void setViaDestDistrictName(String viaDestDistrictName) {
        this.viaDestDistrictName = viaDestDistrictName;
    }

    public String getViaDestDetailAddress() {
        return viaDestDetailAddress;
    }

    public void setViaDestDetailAddress(String viaDestDetailAddress) {
        this.viaDestDetailAddress = viaDestDetailAddress;
    }

    public double getViaDestLongitude() {
        return viaDestLongitude;
    }

    public void setViaDestLongitude(double viaDestLongitude) {
        this.viaDestLongitude = viaDestLongitude;
    }

    public double getViaDestLatitude() {
        return viaDestLatitude;
    }

    public void setViaDestLatitude(double viaDestLatitude) {
        this.viaDestLatitude = viaDestLatitude;
    }

    public String getDestProvinceNo() {
        return destProvinceNo;
    }

    public void setDestProvinceNo(String destProvinceNo) {
        this.destProvinceNo = destProvinceNo;
    }

    public String getDestProvinceName() {
        return destProvinceName;
    }

    public void setDestProvinceName(String destProvinceName) {
        this.destProvinceName = destProvinceName;
    }

    public String getDestCityNo() {
        return destCityNo;
    }

    public void setDestCityNo(String destCityNo) {
        this.destCityNo = destCityNo;
    }

    public String getDestCityName() {
        return destCityName == null ? "" : destCityName;
    }

    public void setDestCityName(String destCityName) {
        this.destCityName = destCityName;
    }

    public String getDestDistrictNo() {
        return destDistrictNo;
    }

    public void setDestDistrictNo(String destDistrictNo) {
        this.destDistrictNo = destDistrictNo;
    }

    public String getDestDistrictName() {
        return destDistrictName;
    }

    public void setDestDistrictName(String destDistrictName) {
        this.destDistrictName = destDistrictName;
    }

    public String getDestDetailAddress() {
        return destDetailAddress;
    }

    public void setDestDetailAddress(String destDetailAddress) {
        this.destDetailAddress = destDetailAddress;
    }

    public double getDestLongitude() {
        return destLongitude;
    }

    public void setDestLongitude(double destLongitude) {
        this.destLongitude = destLongitude;
    }

    public double getDestLatitude() {
        return destLatitude;
    }

    public void setDestLatitude(double destLatitude) {
        this.destLatitude = destLatitude;
    }
}
